package com.baseweb.webadmin.weixin.utils;

public class Constant {
	/**
	 * 用户授权时判断用户是否接受授权的常量参数
	 */
   public static String   STATE ="yes";
   
   /**
    * openId
    */
   public  static final String   OPENID = "openid";
   
   /**
    * js config 签名的 jsapi_ticket
    */
   public static  final String  JSAPI_TICKET="jsapi_ticket";
   
   /**
    * js config 签名的 access_token
    */
   public static final String ACCESS_TOKEN = "access_token";
   
	
	
	/**
	 * 微信公众号的appid
	 */
   public static String WX_APPID ="wxd5bd4e48bb4d69c5";
   /**
    * 微信公众号的SECRET
    */
   public static String WX_SECRET ="9b34f32690edef3499eb682cf1770576";

    /**
     * 公众平台申请的商户的商户号的appid
     */
//    public static final String   WX_MCH_APPID ="wx801d9bbf86d8a059";

   /**
    * 公众平台申请的商户的商户号
    */
   public static final String   WX_MCH_ID ="1462949502";
   
   /**
    * 公众平台申请的商户的api秘钥
    */
   public static final String   WX_API ="d67f708bef873995d28bbed549f4a187";
   
   /**
    * 微信的统一下单接口：即获取prepayId的接口 （固定）
    */
   public  static  final  String  GET_PREPAYID  = "https://api.mch.weixin.qq.com/pay/unifiedorder";
   
   /**
    * 微信退款请求地址（固定）
    */
   public  static final String  REFUND_URL  = "https://api.mch.weixin.qq.com/secapi/pay/refund";
   
   /**
    * Oautch认证成功后重定向的路径  (自定义)
    */
   public static final String REDIRECT_URI="http://www.boyi028.com/test/getOpenid";
   
   /**
    * 微信支付成功后回掉的商户接口地址(自定义)
    */
   public  static final String   NOTIFY_URL = "http://www.boyi028.com/weixin/pay/callBack.service" ;
   
   /**
    * 签名时的编码 必须是utf-8
    */
   public  static final String   SIGN_ENCODE = "UTF-8";
   
   
   
   
   
}
